/*
 *
 *  (C) Copyright 2017 Ymatou (http://www.ymatou.com/).
 *  All rights reserved.
 *
 */

package cn.ymatou.admin.falcon.parameter.echarts;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author luoshiqian 2017/7/18 16:41
 */

/*{
        name:'有风险',
        type:'scatter',
        tooltip : {
        trigger: 'item',
        formatter : function (value) {

        return value[0] + ' :<br/>'+value[2][1]  ;
        }
        },
        data: [[10,1],[9,2],[3,4],[5,1],[8,6],[14,5]],
        markPoint : {
        data : [
        {type : 'max', name: '最大值'},
        {type : 'min', name: '最小值'}
        ]
        },
        markLine : {

        data : [
        { name: '标线1起点',value:200,x: 1, y: 200},
        { name: '标线1终点',x: 6, y: 200}
        ]
        }
    }*/
public class Serie {
    private BigDecimal total = BigDecimal.ZERO;
    private String name;
    private String type;
    private String stack;
    private List<Number> data;
    private MarkPoint markPoint = new MarkPoint();
    private MarkLine markLine = new MarkLine();

    public Serie() {
    }

    public Serie(String name, String type, List<Number> data) {
        this.name = name;
        this.type = type;
        this.data = data;
    }

    public String getStack() {
        return stack;
    }

    public void setStack(String stack) {
        this.stack = stack;
    }

    public MarkPoint getMarkPoint() {
        return markPoint;
    }

    public void setMarkPoint(MarkPoint markPoint) {
        this.markPoint = markPoint;
    }

    public MarkLine getMarkLine() {
        return markLine;
    }

    public void setMarkLine(MarkLine markLine) {
        this.markLine = markLine;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<Number> getData() {
        return data;
    }

    public void setData(List<Number> data) {
        this.data = data;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }
}
